import request from '../utils/axios';

export function stationInsert(data) {
	return request({
		url: '/power/station/insert',
		method: 'post',
		data
	});
}

export function stationQuery(data) {
	return request({
		url: '/power/station/query',
		method: 'post',
		data
	});
}

export function stationUpdate(data) {
	return request({
		url: '/power/station/update',
		method: 'post',
		data
	});
}
export function inverterAdd(data) {
	return request({
		url: '/inverter/add',
		method: 'post',
		data
	});
}
export function inverterQuery(data) {
	return request({
		url: '/inverter/query',
		method: 'post',
		data
	});
}
export function inverterUpdate(data) {
	return request({
		url: '/inverter/update',
		method: 'post',
		data
	});
}

export function getinputCircuit(data) {
	return request({
		url: '/electricity/inputCircuit',
		method: 'get',
		params: data
	});
}

export function electricityDel(data) {
	return request({
		url: '/electricity/del',
		method: 'get',
		params: data
	});
}